package com.itheima.Test01.edu.info.manager.teacher.entry;

import com.itheima.Test01.edu.info.manager.teacher.controller.StudentController;
import com.itheima.Test01.edu.info.manager.teacher.controller.TeacherController;

import java.util.Scanner;

public class Entry {

    public static void main(String[] args) {
        StudentController studentController = new StudentController();
        TeacherController teacherController = new TeacherController();
        Scanner sc = new Scanner(System.in);
        while (true){
            System.out.println("--------欢迎来到黑马信息管理系统--------");
            System.out.println("请输入您的选择: 1.学生管理  2.老师管理  3.退出");
            int choice = sc.nextInt();
            switch (choice){
                case 1 :
                    studentController.start();
                    break;
                case 2 :

                    break;
                case 3 :
                    System.out.println("感谢使用");
                    System.exit(0);
                default:
                    break;
            }
        }

    }
}
